/* 全局样式 */
body {
    background-color: #f8f9fa;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* 导航栏样式 */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: 600;
}

/* 卡片样式 */
.game-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: none;
    overflow: hidden;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* 状态标签样式 */
.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-block;
}

.status-waiting {
    background-color: #e3f2fd;
    color: #1976d2;
}

.status-playing {
    background-color: #f1f8e9;
    color: #689f38;
}

.status-finished {
    background-color: #fafafa;
    color: #757575;
}

/* 按钮样式 */
.btn {
    border-radius: 10px;
    padding: 8px 16px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-create {
    border-radius: 20px;
    padding: 8px 20px;
}

.btn:hover {
    transform: translateY(-1px);
}

/* 搜索框样式 */
.search-box {
    border-radius: 20px;
    padding: 8px 15px;
    border: 1px solid #dee2e6;
    transition: all 0.2s ease;
}

.search-box:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

/* 操作栏样式 */
.action-bar {
    background: white;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* 设置对话框样式 */
.modal-content {
    border-radius: 15px;
    border: none;
}

.modal-header {
    border-bottom: 1px solid rgba(0,0,0,0.1);
    padding: 20px;
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    border-top: 1px solid rgba(0,0,0,0.1);
    padding: 20px;
}

/* 表单控件样式 */
.form-control, .form-select {
    border-radius: 10px;
    border: 1px solid #dee2e6;
    padding: 8px 15px;
}

.form-check-input {
    cursor: pointer;
}

/* 列表组样式 */
.list-group-item {
    border: none;
    padding: 15px 0;
}

/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.3s ease-out forwards;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .action-bar {
        flex-direction: column;
        gap: 15px;
    }
    
    .search-box {
        width: 100%;
    }
    
    .game-card {
        margin-bottom: 15px;
    }
} 